package com.example.serverdemo.netty.device_tcp_server.type;

public enum ModuleType {
    Null("无",0),
    CoreController("核心控制器",1),
    LightingController("灯光控制器模块",2),
    CentralController("中央控制器模块",3),
    Wallboard("墙板模块",4);
    private String moduleName;
    private int index;

    ModuleType(String moduleName, int index) {
        this.moduleName = moduleName;
        this.index = index;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}
